package com.junjun.ssm.service;

import com.junjun.ssm.entity.MovieEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(name = "sysMovie")
public interface ToMovieService {
    @PostMapping("movieOne/queryAllMovie")
    public List<MovieEntity> queryAllMovie();

    @PostMapping("movieOne/query")
    public String queryText();
}
